package com.yinhe.system.domain;

import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务记录对象 sys_task
 * 
 * @author ChenMu
 * @date 2022-05-15
 */
public class SysTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务主键 */
    private Integer taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务类别 */
    @Excel(name = "任务类别")
    private String taskType;

    /** 任务等级 */
    @Excel(name = "任务等级")
    private String taskLevel;

    /** 任务内容 */
    private String taskContent;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String taskStatus;

    /** 处理人ID */
    private Long solveId;

    /** 处理人姓名 */
    @Excel(name = "处理人姓名")
    private String solveName;

    public void setTaskId(Integer taskId) 
    {
        this.taskId = taskId;
    }

    public Integer getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setTaskLevel(String taskLevel) 
    {
        this.taskLevel = taskLevel;
    }

    public String getTaskLevel() 
    {
        return taskLevel;
    }
    public void setTaskContent(String taskContent) 
    {
        this.taskContent = taskContent;
    }

    public String getTaskContent() 
    {
        return taskContent;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setSolveId(Long solveId) 
    {
        this.solveId = solveId;
    }

    public Long getSolveId() 
    {
        return solveId;
    }
    public void setSolveName(String solveName) 
    {
        this.solveName = solveName;
    }

    public String getSolveName() 
    {
        return solveName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("taskType", getTaskType())
            .append("taskLevel", getTaskLevel())
            .append("taskContent", getTaskContent())
            .append("taskStatus", getTaskStatus())
            .append("solveId", getSolveId())
            .append("solveName", getSolveName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
